# width attribute

The width attribute specifies the number of pixels for the width of the object or group.

All graphic object elements, group elements and the displaySettings element contain this attribute.

For graphic object elements, the width includes the object’s borders. If the object’s shape attribute is Circle or Ellipse, the width applies to the object’s bounding box.

The displaySettings element's width attribute sets the run-time width of a display whose size attribute is specifySizeInPixels.

FactoryTalk View equivalent: Width or (GroupWidth)

## See also

displaySettings element

size attribute

width attribute syntax